package io.github.xudaojie.qrcodelib;

import android.content.Intent;
import android.graphics.Bitmap;
import android.os.Handler;

import com.google.zxing.Result;

import io.github.xudaojie.qrcodelib.zxing.view.ViewfinderView;

public interface CaptureActivityImp {
    ViewfinderView getViewfinderView();

    int getType();

    Handler getHandler();

    void handleDecode(Result result, Bitmap barcode);

    void drawViewfinder();

    void finish();

    void startActivity(Intent intent);

    void setResult(int resultCode, Intent data);
}
